package com.ls.lserp.modules.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

/**
 * @ClassName: BigConsumption
 * @Description: 样吕需求实体
 * 
 * @author
 * @date 2017年02月06日
 *
 */

public class BigConsumption extends DataEntity<BigConsumption> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// 大货单耗表id
	private Long id;
	// 样品需求单ID
	private Long sampleRequestId;
	// 大货单耗编号
	private String unitCostNo;
	// 单耗类别(1:试身样 2:确定样)
	private String unitConType;
	// 参考大货单耗编号
	private String refUnitCostNo;
	// 大货单耗中间规格
	private String unitCostMiddleStandard;
	// 大货单耗损耗率
	private String unitCostLossRate;
	// 大货单耗成本
	private String unitCost;
	// 大货单耗备注
	private String unitCostRemark;
	// 来源（1、新建；2、创建样品需求时连带创建）
	private String sourceFrom;
	// 大货员ID
	private String typesetterID;
	// 大货员姓名
	private String typesetterName;
	// 处理状态（1、新建；2、已保存）
	private String status;

	// 报价单号
	private String offerNo;
	// 材料损耗数量
	private String materaialLoss;
	// 款式核料编号
	private String reserverStyleId;
	// 合同订单编号
	private String indentNo;

	// 中间规格
	private String styleStandard;

	/* 款式 数据 */
	// 款式id
	private long styleId;
	// 款式图片
	private String uploadFile;
	// 款号
	private String styleNo;
	// 款式名称
	private String styleNameCn;
	// 款式年份
	private String styleYear;
	// 款式季节(A_DICT_P.ITEM_CD-A_DICT_P.ITEM_VALUE)
	private String styleSeason;
	// 颜色组类别名称
	private String styleColorName;
	//
	private String styleCustomerName;

	// 款式类别
	private String styleCateGoryCd;

	private String styleMaterialType;
	// 分类面料
	private String styleMaterialTypeCN;

	// 检索开始时间
	private String dateFrom;
	// 检索结束时间
	private String dateTo;
	// tab页状态
	private int tabPageStatus;

	// 合计成本
	private BigDecimal totalPrice;

	// 业务员id
	private String userId;

	private List<BigConsumption> bigConsumptionMaterialList;

	private List<BigConsumption> bigConsumptionHistoryList;

	// 0:查看画面 1:创建编辑画面
	private String editFlag;

	//

	// 阶段CD
	private String phaseCd;

	// 阶段次数
	private String phaseNumber;

	//

	// 面料类型
	private long materialType;
	// 款式条目
	private String styleArticle = "";
	// 原辅料ID
	private long materialID;
	// 净单耗
	private BigDecimal materialCost = new BigDecimal(0);
	// 净单耗单位
	private String materialCostUnit = "";
	// 总单耗
	private BigDecimal materialUnitExpend = new BigDecimal(0);
	// 损耗百分比
	private BigDecimal materialPreLoss = new BigDecimal(0);
	// 损耗数量
	private BigDecimal materialLoss = new BigDecimal(0);
	// 单价
	private BigDecimal materialUnitPrice = new BigDecimal(0);
	// 总单价
	private BigDecimal materialSellUnitPrice = new BigDecimal(0);
	// 部位
	private String materialPlace = "";
	// 部位明细说明
	private String materialDetailExplain = "";
	// 出口退税基准ID
	private long materialTaxRebateID;
	// 出口退税基准数值
	private BigDecimal materialTaxRebate = new BigDecimal(0);
	// 材料出厂金额
	private BigDecimal materialTotalPrice = new BigDecimal(0);
	// 材料销售金额
	private BigDecimal materialSellTotalPrice = new BigDecimal(0);
	// 状态
	private long statusFlag;
	// 备注
	private String remarks = "";

	//
	private String materialNameCN;
	//
	private String materialCode;
	//
	private String materialFile;
	// 规格
	private String materialSpec;
	// 规格单位
	private String materialSpecUnit = "";
	// 物料类别
	private String materialTypeCd = "";



	/**
	 * @return the sampleRequestId
	 */
	public Long getSampleRequestId() {
		return sampleRequestId;
	}

	/**
	 * @param sampleRequestId the sampleRequestId to set
	 */
	public void setSampleRequestId(Long sampleRequestId) {
		this.sampleRequestId = sampleRequestId;
	}

	/**
	 * @return the uploadFile
	 */
	public String getUploadFile() {
		return uploadFile;
	}

	/**
	 * @param uploadFile
	 *            the uploadFile to set
	 */
	public void setUploadFile(String uploadFile) {
		this.uploadFile = uploadFile;
	}

	/**
	 * @return the styleNo
	 */
	public String getStyleNo() {
		return styleNo;
	}

	/**
	 * @param styleNo
	 *            the styleNo to set
	 */
	public void setStyleNo(String styleNo) {
		this.styleNo = styleNo;
	}

	/**
	 * @return the styleNameCn
	 */
	public String getStyleNameCn() {
		return styleNameCn;
	}

	public void setStyleNameCn(String styleNameCn) {
		this.styleNameCn = styleNameCn;
	}

	/**
	 * @return the styleCateGoryCd
	 */
	public String getStyleCateGoryCd() {
		return styleCateGoryCd;
	}

	/**
	 * @param styleCateGoryCd
	 *            the styleCateGoryCd to set
	 */
	public void setStyleCateGoryCd(String styleCateGoryCd) {
		this.styleCateGoryCd = styleCateGoryCd;
	}

	/**
	 * @return the dateFrom
	 */
	public String getDateFrom() {
		return dateFrom;
	}

	/**
	 * @param dateFrom
	 *            the dateFrom to set
	 */
	public void setDateFrom(String dateFrom) {
		this.dateFrom = dateFrom;
	}

	/**
	 * @return the dateTo
	 */
	public String getDateTo() {
		return dateTo;
	}

	/**
	 * @param dateTo
	 *            the dateTo to set
	 */
	public void setDateTo(String dateTo) {
		this.dateTo = dateTo;
	}

	/**
	 * @return the tabPageStatus
	 */
	public int getTabPageStatus() {
		return tabPageStatus;
	}

	/**
	 * @param tabPageStatus
	 *            the tabPageStatus to set
	 */
	public void setTabPageStatus(int tabPageStatus) {
		this.tabPageStatus = tabPageStatus;
	}

	/**
	 * @return the styleId
	 */
	public long getStyleId() {
		return styleId;
	}

	/**
	 * @param styleId
	 *            the styleId to set
	 */
	public void setStyleId(long styleId) {
		this.styleId = styleId;
	}

	/**
	 * @return the totalPrice
	 */
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	/**
	 * @param totalPrice
	 *            the totalPrice to set
	 */
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUnitCostNo() {
		return unitCostNo;
	}

	public void setUnitCostNo(String unitCostNo) {
		this.unitCostNo = unitCostNo;
	}

	public String getUnitConType() {
		return unitConType;
	}

	public void setUnitConType(String unitConType) {
		this.unitConType = unitConType;
	}

	public String getRefUnitCostNo() {
		return refUnitCostNo;
	}

	public void setRefUnitCostNo(String refUnitCostNo) {
		this.refUnitCostNo = refUnitCostNo;
	}

	public String getUnitCostMiddleStandard() {
		return unitCostMiddleStandard;
	}

	public void setUnitCostMiddleStandard(String unitCostMiddleStandard) {
		this.unitCostMiddleStandard = unitCostMiddleStandard;
	}

	public String getUnitCostLossRate() {
		return unitCostLossRate;
	}

	public void setUnitCostLossRate(String unitCostLossRate) {
		this.unitCostLossRate = unitCostLossRate;
	}

	public String getUnitCost() {
		return unitCost;
	}

	public void setUnitCost(String unitCost) {
		this.unitCost = unitCost;
	}

	public String getUnitCostRemark() {
		return unitCostRemark;
	}

	public void setUnitCostRemark(String unitCostRemark) {
		this.unitCostRemark = unitCostRemark;
	}

	public String getSourceFrom() {
		return sourceFrom;
	}

	public void setSourceFrom(String sourceFrom) {
		this.sourceFrom = sourceFrom;
	}

	public String getTypesetterID() {
		return typesetterID;
	}

	public void setTypesetterID(String typesetterID) {
		this.typesetterID = typesetterID;
	}

	public String getTypesetterName() {
		return typesetterName;
	}

	public void setTypesetterName(String typesetterName) {
		this.typesetterName = typesetterName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getOfferNo() {
		return offerNo;
	}

	public void setOfferNo(String offerNo) {
		this.offerNo = offerNo;
	}

	public String getMateraialLoss() {
		return materaialLoss;
	}

	public void setMateraialLoss(String materaialLoss) {
		this.materaialLoss = materaialLoss;
	}

	public String getReserverStyleId() {
		return reserverStyleId;
	}

	public void setReserverStyleId(String reserverStyleId) {
		this.reserverStyleId = reserverStyleId;
	}

	public String getIndentNo() {
		return indentNo;
	}

	public void setIndentNo(String indentNo) {
		this.indentNo = indentNo;
	}

	public String getStyleStandard() {
		return styleStandard;
	}

	public void setStyleStandard(String styleStandard) {
		this.styleStandard = styleStandard;
	}

	public String getStyleYear() {
		return styleYear;
	}

	public void setStyleYear(String styleYear) {
		this.styleYear = styleYear;
	}

	public String getStyleSeason() {
		return styleSeason;
	}

	public void setStyleSeason(String styleSeason) {
		this.styleSeason = styleSeason;
	}

	public String getStyleColorName() {
		return styleColorName;
	}

	public void setStyleColorName(String styleColorName) {
		this.styleColorName = styleColorName;
	}

	public String getStyleCustomerName() {
		return styleCustomerName;
	}

	public void setStyleCustomerName(String styleCustomerName) {
		this.styleCustomerName = styleCustomerName;
	}

	public String getStyleMaterialType() {
		return styleMaterialType;
	}

	public void setStyleMaterialType(String styleMaterialType) {
		this.styleMaterialType = styleMaterialType;
	}

	public String getStyleMaterialTypeCN() {
		return styleMaterialTypeCN;
	}

	public void setStyleMaterialTypeCN(String styleMaterialTypeCN) {
		this.styleMaterialTypeCN = styleMaterialTypeCN;
	}

	public List<BigConsumption> getBigConsumptionMaterialList() {
		return bigConsumptionMaterialList;
	}

	public void setBigConsumptionMaterialList(List<BigConsumption> bigConsumptionMaterialList) {
		this.bigConsumptionMaterialList = bigConsumptionMaterialList;
	}

	public List<BigConsumption> getBigConsumptionHistoryList() {
		return bigConsumptionHistoryList;
	}

	public void setBigConsumptionHistoryList(List<BigConsumption> bigConsumptionHistoryList) {
		this.bigConsumptionHistoryList = bigConsumptionHistoryList;
	}

	public String getEditFlag() {
		return editFlag;
	}

	public void setEditFlag(String editFlag) {
		this.editFlag = editFlag;
	}

	public long getMaterialType() {
		return materialType;
	}

	public void setMaterialType(long materialType) {
		this.materialType = materialType;
	}

	public String getStyleArticle() {
		return styleArticle;
	}

	public void setStyleArticle(String styleArticle) {
		this.styleArticle = styleArticle;
	}

	public long getMaterialID() {
		return materialID;
	}

	public void setMaterialID(long materialID) {
		this.materialID = materialID;
	}

	public BigDecimal getMaterialCost() {
		return materialCost;
	}

	public void setMaterialCost(BigDecimal materialCost) {
		this.materialCost = materialCost;
	}

	public String getMaterialCostUnit() {
		return materialCostUnit;
	}

	public void setMaterialCostUnit(String materialCostUnit) {
		this.materialCostUnit = materialCostUnit;
	}

	public BigDecimal getMaterialUnitExpend() {
		return materialUnitExpend;
	}

	public void setMaterialUnitExpend(BigDecimal materialUnitExpend) {
		this.materialUnitExpend = materialUnitExpend;
	}

	public BigDecimal getMaterialPreLoss() {
		return materialPreLoss;
	}

	public void setMaterialPreLoss(BigDecimal materialPreLoss) {
		this.materialPreLoss = materialPreLoss;
	}

	public BigDecimal getMaterialLoss() {
		return materialLoss;
	}

	public void setMaterialLoss(BigDecimal materialLoss) {
		this.materialLoss = materialLoss;
	}

	public BigDecimal getMaterialUnitPrice() {
		return materialUnitPrice;
	}

	public void setMaterialUnitPrice(BigDecimal materialUnitPrice) {
		this.materialUnitPrice = materialUnitPrice;
	}

	public BigDecimal getMaterialSellUnitPrice() {
		return materialSellUnitPrice;
	}

	public void setMaterialSellUnitPrice(BigDecimal materialSellUnitPrice) {
		this.materialSellUnitPrice = materialSellUnitPrice;
	}

	public String getMaterialPlace() {
		return materialPlace;
	}

	public void setMaterialPlace(String materialPlace) {
		this.materialPlace = materialPlace;
	}

	public String getMaterialDetailExplain() {
		return materialDetailExplain;
	}

	public void setMaterialDetailExplain(String materialDetailExplain) {
		this.materialDetailExplain = materialDetailExplain;
	}

	public long getMaterialTaxRebateID() {
		return materialTaxRebateID;
	}

	public void setMaterialTaxRebateID(long materialTaxRebateID) {
		this.materialTaxRebateID = materialTaxRebateID;
	}

	public BigDecimal getMaterialTaxRebate() {
		return materialTaxRebate;
	}

	public void setMaterialTaxRebate(BigDecimal materialTaxRebate) {
		this.materialTaxRebate = materialTaxRebate;
	}

	public BigDecimal getMaterialTotalPrice() {
		return materialTotalPrice;
	}

	public void setMaterialTotalPrice(BigDecimal materialTotalPrice) {
		this.materialTotalPrice = materialTotalPrice;
	}

	public BigDecimal getMaterialSellTotalPrice() {
		return materialSellTotalPrice;
	}

	public void setMaterialSellTotalPrice(BigDecimal materialSellTotalPrice) {
		this.materialSellTotalPrice = materialSellTotalPrice;
	}

	public long getStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(long statusFlag) {
		this.statusFlag = statusFlag;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getMaterialNameCN() {
		return materialNameCN;
	}

	public void setMaterialNameCN(String materialNameCN) {
		this.materialNameCN = materialNameCN;
	}

	public String getMaterialCode() {
		return materialCode;
	}

	public void setMaterialCode(String materialCode) {
		this.materialCode = materialCode;
	}

	public String getMaterialFile() {
		return materialFile;
	}

	public void setMaterialFile(String materialFile) {
		this.materialFile = materialFile;
	}

	public String getMaterialSpec() {
		return materialSpec;
	}

	public void setMaterialSpec(String materialSpec) {
		this.materialSpec = materialSpec;
	}

	public String getMaterialSpecUnit() {
		return materialSpecUnit;
	}

	public void setMaterialSpecUnit(String materialSpecUnit) {
		this.materialSpecUnit = materialSpecUnit;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getMaterialTypeCd() {
		return materialTypeCd;
	}

	public void setMaterialTypeCd(String materialTypeCd) {
		this.materialTypeCd = materialTypeCd;
	}



	public String getPhaseCd() {
		return phaseCd;
	}

	public void setPhaseCd(String phaseCd) {
		this.phaseCd = phaseCd;
	}

	public String getPhaseNumber() {
		return phaseNumber;
	}

	public void setPhaseNumber(String phaseNumber) {
		this.phaseNumber = phaseNumber;
	}

}